<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<link href="themes01/default/clientPublic.css" rel="stylesheet" type="text/css"/>
<link href="themes01/default/codeMgr.css" rel="stylesheet" type="text/css"/>
<link href="themes01/default/tabSwitch.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" type="text/css" href="themes01/default/pstyle.css">
<script type="text/javascript" src="javascripts01/jquery.js"></script>
<script type="text/javascript" src="javascripts01/common.js"></script>
<script language="javascript" type="text/javascript" src="DatePicker/WdatePicker.js"></script>
<title>Office 515158 2011 OA办公系统</title>
 
</head>
<body>
<div id="Holder">
<div id="MainPage">

 
 
<div id="Subnav">
 
<ul>
<?php
$muid=58;
$nums=92;
//====================
global $db;
$query = $db->query("SELECT * FROM ".DB_TABLEPRE."menu where fatherid='".$muid."' and menutype='0' ORDER BY menunum Asc");
	while ($row = $db->fetch_array($query)) {
?>
<li><a href="<?=$row[menuurl]?>"  <? if($nums==$row[menuid]){?> id="Subnavb"<? }?>><?=$row[menuname]?></a></li>
<?php
	}
	
?>
</ul>
</div>

<form name="save" method="post" action="?ac=add&do=save&fileurl=user" onSubmit="return save_user()">
	<input type="hidden" name="savetype" value="add" />
<table class="TableTop" width="90%">
   <tr>
      <td class="left"></td>
      <td class="center">账户信息</td>
      <td class="right"></td>
   </tr>
</table>
 <table class="TableBlock no-top-border" width="90%">
    <tr>
      <td nowrap class="TableData" width="15%"> 用户名：</td>
      <td class="TableData">
        <input type="text" name="username" class="BigInput" size="20" /><div id="tip"></div>      </td>
    </tr>
    <tr>
      <td nowrap class="TableData"> 权限组：</td>
      <td class="TableData">
      <select name="groupid"><?=get_inc_usergroup_options()?></select>      </td>
    </tr>
    <tr>
      <td nowrap class="TableData">密码：</td>
      <td class="TableData"><input type="text" name="password" class="BigInput" size="20" />      </td>
    </tr>
    
    <tr>
      <td nowrap class="TableData"> 所属部门：</td>
      <td class="TableData">
       <select class="SelectStyle" name="departmentid">
											<option value="0" ></option>
											<?php GET_DEPARTMENT_PUBLIC_LIST(0,0)?>
										</select>      </td>
    </tr>
 
<tr>
      <td nowrap class="TableData"> 岗位：</td>
      <td class="TableData">
       <select class="SelectStyle" name="positionid">
											<option value="0" ></option>
											<?php GET_POSITIONID_PUBLIC_LIST(0,0)?>
										</select>      </td>
    </tr>
    
    
    <tr>
      <td nowrap class="TableData"> 姓名：</td>
      <td class="TableData">
       <input type="text" name="name" class="BigInput" size="20" />      </td>
    </tr>
    
    <tr>
      <td nowrap class="TableData"> 状态：</td>
      <td class="TableData">
      <input type="radio" name="ischeck" id="ischeck" value="1" checked="checked" class="checkbox" /><label for="visible1">正常</label> <input type="radio" name="ischeck" id="ischeck" value="0" class="checkbox" /><label for="visible0">禁用</label>      </td>
    </tr>
    
    <tr>
      <td nowrap class="TableData"> 允许登录IP：</td>
      <td class="TableData">
        <textarea name="loginip" cols="60" rows="5" class="BigInput" id="loginip"></textarea>
		<br>多个请用英文“,” 号分隔 ，留空为不限制    </td>
    </tr>
    
    
    
 
 
    <tr align="center" class="TableControl">
      <td colspan="2" nowrap height="35">
        <input type="submit" value="保存信息" class="BigButton">      </td>
    </tr>
  </table>
</form>
</div>
</div>
 
<script language="javascript" src="javascripts01/tangram-1.3.1.js" type="text/javascript"></script>
<script language="javascript" src="javascripts01/elf.js" type="text/javascript"></script>
<script language="javascript" src="javascripts01/union.js" type="text/javascript"></script>
<script language="javascript" src="javascripts01/codeMgr.js" type="text/javascript"></script>
 
</body>
</html>
